package com.itms.web.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itms.service.BasicDataService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/project")
public class ProjectController {

    @Reference
    private BasicDataService basicDataService;

    @RequestMapping(value="",method=RequestMethod.GET)
    public Object getProjectList(){
        return basicDataService.getProjectList(null);
    }
}
